package com.awesome.databindingdemo.databinding2.bean;

import androidx.databinding.ObservableField;

/**
 * Author: zhangjingfang
 * Email:zhangjingfang@jeejio.com
 * Date: 2021/7/28 11:19 下午
 * Description:类描述
 */
public class ObFSwordsman {
    public ObservableField<String> name = new ObservableField<>();
    public ObservableField<String> level = new ObservableField<>();

    public ObFSwordsman(String name, String level) {
        this.name.set(name);
        this.level.set(level);
    }

    public ObservableField<String> getName() {
        return name;
    }

    public void setName(String name) {
        this.name.set(name);
    }

    public ObservableField<String> getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level.set(level);
    }
}